package com.bcu.calculus.service;

import com.bcu.calculus.entity.Image;
import com.bcu.calculus.entity.Message;

import java.util.List;

public interface ImageService {

    Message<?> insert(Image image);

    Message<?> deleteByPrimaryKey(Integer image);

    Message<?> updateByPrimaryKey(Image image);

    Message<Image> selectByPrimaryKey(Integer imageId);

    Message<List<Image>> selectAllImage();
}
